@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
        
body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

/* Hero Background */
.hero-bg {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* Product Card Hover Effects */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Product Badges */
.handmade-badge,
.authentic-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.handmade-badge {
    background: #FCD34D; 
    color: #92400E;
}

.authentic-badge {
    background: #34D399;
    color: #065F46;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #d4a373;
    transition: width .3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Menu Active State */
.nav-link.active {
    color: #F59E0B;
}

.handmade-section {
    background: #f8f4e9;
}

.authentic-section {
    background: #f0f4f8;
}

/* Back to Top Button */
#backToTop {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

#backToTop.show {
    opacity: 1;
    visibility: visible; 
    transform: translateY(0);
}

/* Sticky Header */ 
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}

.header-hidden {
    transform: translateY(-100%);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-overlay {
    animation: fadeIn 0.3s ease-out;
}

.cart-modal {
    animation: slideIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cart-item-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cart-overlay.opacity-0 {
    transition: opacity 0.3s ease-out;
}

.cart-overlay.opacity-0 .cart-modal {
    transform: translateY(-100px);
    transition: transform 0.3s ease-out;
}